package cn.waxcc.pojo;

import lombok.Data;


@Data
public class ResponseResult {
    //总价格
    private String totalPrice;
    //数量
    private Integer total;
    //状态码
    private Integer code;
    //数据
    private Object data;
    //消息
    private String msg;

    public ResponseResult() {
    }

    public ResponseResult(Integer code, Object data) {
        this.code = code;
        this.data = data;
    }

    public ResponseResult(Integer code, Object data, Integer total, String totalPrice) {
        this.total = total;
        this.code = code;
        this.data = data;
        this.totalPrice = totalPrice;
    }


}
